import request from '@/common/request.js'
import { formatGetUri } from '@/common/util.js'

const api = {};
const OPERATOR = 'operator';
//粉丝列表
api.list = params => request.globalRequest(`${OPERATOR}/list`, 'POST', params, 1)

//需要完成的任务
api.task = params => request.globalRequest(`${OPERATOR}/task`, 'POST', params, 1)


// GET请求方式
//api.homeindex = params => request.globalRequest(`${PORT1}/index${formatGetUri(params)}`, 'GET',{}, 1)
export default api